<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0023)http://localhost/admin/ -->
<HTML><HEAD><TITLE>阜阳白金汉宫酒店管理员系统</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK 
rel=stylesheet type=text/css href="images/style.css">
<META name=GENERATOR content="MSHTML 8.00.6001.19328">
<script src="${pageContext.request.contextPath}/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>    
<style>
#body{background:url("images/admin_login.gif");}
</style>
<script> 
$(function(){
$("#admin").focus();
});
		function login() {

			var name=$("#admin").val();
			var pwd=$("#pwd").val();
	
			if(name==""){
			alert("用户名不能为空");
			return;
			}
			if(pwd==""){
			alert("密码不能为空");
			return;
			}
		$("#form").submit();
}
 $(document).keydown(function(event){ 
    		 if(event.keyCode == 13) 
    		 {
    			 login();
        	}
});
</script>

</HEAD>
<BODY background=images/bg.gif>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" align=center 
height=466>
  <TBODY>
  <TR>
    <TD>
      <TABLE id="body" border=0 cellSpacing=0 cellPadding=0 width=524 align=center height=276>
        <TBODY>
        <TR>
          <TD height=276 width=524>
            <FORM method=post name=form1 id="form" method="post" action="action/managerlogin.jsp">
            <TABLE border=0 cellSpacing=0 cellPadding=0 width="91%" 
              height=121><TBODY>
              <TR>
                <TD width="44%"> <br><br></TD>
                <TD width="18%">&nbsp;</TD>
                <TD width="38%">&nbsp;</TD></TR>
              <TR>
                <TD height=25>&nbsp;</TD>
                <TD height=25>
                  <DIV align=center>用户</DIV></TD>
                <TD height=25><INPUT id="admin" class=ipt1 name="admin"/> </TD></TR>
              <TR>
                <TD height=25>&nbsp;</TD>
                <TD height=25>
                  <DIV align=center>密码</DIV></TD>
                <TD height=25><INPUT id="pwd" class=ipt1 type=password name="pwd"> 
                </TD></TR>
              <TR>
                <TD>&nbsp;</TD>
                <TD colSpan=2>
                  <DIV align=center><INPUT class=ipt2 value=提交 onclick="login();" type=button name=Submit> 
<INPUT class=ipt2 value=重置 type=reset name=Submit2> <INPUT 
                  id=operation value=login type=hidden name=operation> 
              </DIV></TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
